<?php

include('includes/smarty.php');
include_once('config.php');

require_once('seeker/include/JobSeeker.class.php'); 
require_once('seeker/include/OurDatabase.class.php');
require_once('config.php');

$JS = new JobSeeker();
$DB = new OurDatabase();
$DB->open_connection();

$job_info = $JS->single_job($_POST['Job_ID']);

$smarty->assign('title', 'Home');
$smarty->assign('path', $site);
$smarty->assign('jobInfo', $job_info);
$smarty->assign('leftCol', 'main/newsFeed.tpl');
$smarty->assign('mainCol', 'main/jobInfo.tpl');
$smarty->assign('rightCol', 'main/signin.tpl');

$smarty->display('index.tpl');

?>

